// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import HighchartsVue from 'highcharts-vue';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import Highcharts from 'highcharts'
import exportingInit from 'highcharts/modules/exporting'
exportingInit(Highcharts)
import Blob from './excel/Blob.js'
import Export2Excel from './excel/Export2Excel.js'
axios.defaults.baseURL = process.env.BASE_ROOT
axios.defaults.withCredentials = true
Vue.prototype.$http = axios
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(HighchartsVue);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
